package com.example.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.PageUtils;
import com.example.gulimall.product.entity.BrandEntity;
import com.example.gulimall.product.entity.CategoryBrandRelationEntity;
import com.example.gulimall.product.entity.CategoryEntity;
import com.example.gulimall.product.vo.RelationBrandListVo;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author zyred
 * @email zyred@163.com
 * @date 2021-08-23 10:31:18
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    List<CategoryBrandRelationEntity> queryPage(Long brandId);

    void saveDetails(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrand(BrandEntity brand);

    void updateCategory(CategoryEntity category);

    List<RelationBrandListVo> relationBrandList(Long catId);

}

